package com.yuke.cloud.service.pmc.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class ProdCategoryBrandDto {

    /**
     * 商品规格ID
     */
    @ApiModelProperty(value="specId主键，自增")
    private Long specId;

    /**
     * 商品ID
     */
    @ApiModelProperty(value="productId商品编号，与商品表关联")
    private Long productId;

    /**
     * 商品品牌类别ID
     */
    @ApiModelProperty(value="categoryId商品品牌类别ID")
    private Long categoryId;

    /**
     * 商品名称
     */
    @ApiModelProperty(value="specName商品名称")
    private String specName;

    /**
     * 主键，自增
     */
    @ApiModelProperty(value="brandId主键，自增")
    private Long brandId;

    /**
     * 品牌名称
     */
    @ApiModelProperty(value="brandName品牌名称")
    private String brandName;


    /**
     * 父类别ID
     */
    @ApiModelProperty(value="parentId父类别ID")
    private Long parentId;

    /**
     * 仓库ID
     */
    @ApiModelProperty(value="warehouseId仓库ID")
    private Long warehouseId;

    private Long storageId;

    @ApiModelProperty(value="parentName父类别name")
    private String parentName;

    /**
     * 类别名称
     */

    @ApiModelProperty(value="categoryName类别名称")
    private String categoryName;

    /**
     * 品牌logo图片的URI路径
     */

    @ApiModelProperty(value="logoUri品牌logo图片的URI路径")
    private String logoUri;

    /**
     * 厂家推广的品牌网址
     */
    @ApiModelProperty(value="brandUrl厂家推广的品牌网址")
    private String brandUrl;

    /**
     * 排序，数值越小越靠前
     */
    @ApiModelProperty(value="sort排序，数值越小越靠前")
    private Integer sort;

    /**
     * 推荐排序，数值越小越靠前
     */
    @ApiModelProperty(value="recommendSort推荐排序，数值越小越靠前")
    private Integer recommendSort;

    /**
     * 是否启用，0：不启用，1：启用
     */
    @ApiModelProperty(value="isEnable是否启用，0：不启用，1：启用")
    private Boolean isEnable;

    /**
     * 是否推荐
     */
    @ApiModelProperty(value="isRecommend是否推荐")
    private Byte isRecommend;

    @ApiModelProperty(value="salePrice自定义售价，价格单位为分")
    private Integer salePrice;

    @ApiModelProperty(value="categoryPictrue类别图片")
    private String categoryPictrue;

    @ApiModelProperty(value="regionId")
    private Long regionId;

    @ApiModelProperty(value="factoryId")
    private Long factoryId;

    /**
     * 市场售价，价格单位为分
     */
    @ApiModelProperty(value="marketPrice市场售价，价格单位为分")
    private Integer marketPrice;

    /**
     * 平台销售指导价，价格单位为分
     */
    @ApiModelProperty(value="guidancePrice平台销售指导价，价格单位为分")
    private Integer guidancePrice;


    /**
     * 商品销售总量
     */
    @ApiModelProperty(value="商品销售总量")
    private Long saleCount;

    @ApiModelProperty(value = "商品所在城市ID")
    private Long wareCityId;

    @ApiModelProperty(value = "商品所在城市名称，包括省份")
    private String wareCityName;

    @ApiModelProperty(value = "是否为秒杀活动商品")
    private Boolean isSecKill;

    @ApiModelProperty(value = "秒杀商品价格")
    private Integer secKillPrice;

    @ApiModelProperty(value = "秒杀活动结束时间")
    private Date secKillEndTime;

    @ApiModelProperty(value = "商品的重量")
    private Integer weight;

    @ApiModelProperty(value = "regionCityId仓库所在城市ID")
    private Long regionCityId;

    /**
     * 小图路径
     */
    @ApiModelProperty(value="smallPicUri小图路径")
    private String smallPicUri;

    @ApiModelProperty(value="bigPicUri大图路径")
    private String bigPicUri;

    @ApiModelProperty(value = "是否为新品")
    private Boolean isNew;

    @ApiModelProperty(value = "是否为厂家直销")
    private Boolean isFactory;

    @ApiModelProperty(value = "是否支持分销")
    private Boolean isRetail;

    @ApiModelProperty(value = "商品描述")
    private String description;

    /**
     * 商品数量
     */
    @ApiModelProperty(value="number商品数量")
    private Integer number;

    @ApiModelProperty(value = "商品库存")
    private Integer stockCount;

    @ApiModelProperty(value = "价格排序方式")
    private String sortPriceType;  // asc: 价格升序，desc：价格降序

    @ApiModelProperty(value = "销量排序方式")
    private String sortCountType;  // asc: 销量升序，desc：销量降序

    /**
     * 创建时间
     */
    @ApiModelProperty(value="createTime创建时间")
    private Date createTime;

    /**
     * 记录更新时间
     */
    @ApiModelProperty(value="updateTime记录更新时间")
    private Date updateTime;


    @ApiModelProperty(value = "销售类型")
    private Byte saleType;  // 1: 零售，2：批发

    @ApiModelProperty(value = "品牌筛选")
    private List<Long> brandList;  // 1: 零售，2：批发

    @ApiModelProperty(value = "是否有搭赠活动")
    private Boolean hasTying;  // 0: 没有搭赠活动，1：有搭赠活动

    @ApiModelProperty(value = "搭赠商品id")
    private Long giftSpecId;

    @ApiModelProperty(value = "是否打折")
    private Integer hasDiscount;

    @ApiModelProperty(value = "是否满减")
    private Integer hasReduction;

    @ApiModelProperty(value = "是否返利")
    private Integer hasRebate;





}
